package ex.com.jm.food.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/**
 * 每天收益实体层
 * @author Administrator
 *
 */
@Entity
@Table(name="jm_date_profit_sumary")
public class DateProfitSummary implements Serializable {


	private static final long serialVersionUID = 1L;
	@Id
	@GenericGenerator(name="dps_id",strategy="uuid")
	@GeneratedValue(generator="dps_id")
	@Column(name="dps_id",nullable=false,unique=true,length=32)
	private String dpsId;
	@Column(name="s_date",nullable=false,unique=true,length=32)
	private String sDate;//每天的时间日期
	@Column(name="com_total_profit",length=32)
	private double comTotalProfit;//企业收益
	@Column(name="total_profit",length=32)
	private double totalProfit;//我们(极目网站)的收益
	@Column(name="total_num",length=32)
	private int totalNum;//卖出的菜品总数量
	@Column(name="profit_rate",length=32)
	private int profitRate;//极目/企业收益比值，注意库村的百倍利率
	public String getSDate() {
		return sDate;
	}
	public void setSDate(String sDate) {
		this.sDate = sDate;
	}
	public double getComTotalProfit() {
		return comTotalProfit;
	}
	public void setComTotalProfit(double comTotalProfit) {
		this.comTotalProfit = comTotalProfit;
	}
	public double getTotalProfit() {
		return totalProfit;
	}
	public void setTotalProfit(double totalProfit) {
		this.totalProfit = totalProfit;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	public int getProfitRate() {
		return profitRate;
	}
	public void setProfitRate(int profitRate) {
		this.profitRate = profitRate;
	}
	

}
